#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>

#include "Sort.h"


int main(void)
{
    int arr[] = {12, 23, 14, 27, 19, 29, 10, 20};
    int len = sizeof(arr)/sizeof(arr[0]);
    
    BubbleSort(arr, len);

    printf("%d\n", arr[2]);

    for (int i = 0; i < len; i++)
    {
        printf("%d ", arr[i]);
    }
    puts("");//换行

    return 0;
}